﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Light.Master" CodeBehind="Register.aspx.vb" Inherits="QLThuVien.Register" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_body" runat="server">
    
 <div class="section section-breadcrumbs">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <h1>
                        Đăng Ký</h1>
                </div>
            </div>
        </div>
    </div>
<div class="section">
	    	<div class="container">
				<div class="row">
					<div class="col-sm-6 col-sm-offset-3 ">
						<div class="basic-login">
								<div class="form-group">
		        				 	<label for="register-username"><i class="icon-user"></i> <b>Tài Khoản</b></label>
                                    <asp:TextBox ID="txt_taikhoan" class="form-control" runat="server"></asp:TextBox>
				                     <asp:RequiredFieldValidator
                                        ID="rfv_taikhoan" runat="server" ErrorMessage="Chưa Nhập Tài Khoản" ControlToValidate="txt_taikhoan" ForeColor="Red" SetFocusOnError="True"  >
                                        </asp:RequiredFieldValidator>
								</div>
								<div class="form-group">
		        				 	<label for="register-password"><i class="icon-lock"></i> <b>Mật Khẩu</b></label>
									<asp:TextBox ID="txt_matkhau" class="form-control" runat="server" TextMode="Password"></asp:TextBox>
                                     <asp:RequiredFieldValidator
                                        ID="rfv_matkhau" runat="server" ErrorMessage="Chưa Nhập Mật Khẩu" ControlToValidate="txt_matkhau" ForeColor="Red" SetFocusOnError="True"  >
                                        </asp:RequiredFieldValidator>
								</div>
								<div class="form-group">
		        				 	<label for="register-password2"><i class="icon-lock"></i> <b>Nhập Lại Mật Khẩu</b></label>
									<asp:TextBox ID="txt_rematkhau" class="form-control" runat="server" TextMode="Password"></asp:TextBox>
                                    <asp:CompareValidator ID="cpv_rematkhau" runat="server" ErrorMessage="Mật Khẩu Không Khớp" ControlToCompare="txt_matkhau" ControlToValidate="txt_rematkhau" ForeColor="Red" SetFocusOnError="True"></asp:CompareValidator>
								</div>
                                <div class="form-group">
		        				 	<label for="register-password2"><i class="icon-lock"></i> <b>Họ Và Tên</b></label>
									<asp:TextBox ID="txt_hoten" class="form-control" runat="server" ></asp:TextBox>
                                    <asp:RequiredFieldValidator
                                        ID="rfv_hoten" runat="server" ErrorMessage="Chưa Nhập Họ Tên" ControlToValidate="txt_hoten" ForeColor="Red" SetFocusOnError="True"  >
                                        </asp:RequiredFieldValidator>
								</div>
                                   <div class="form-group">
		        				 	<label for="register-password2"><i class="icon-lock"></i> <b>Giới Tính</b></label>
                                       <asp:RadioButtonList ID="rdb_gioitinh" runat="server">
                                       <asp:ListItem Text="Nam" Value="1" Selected="True">
                                       </asp:ListItem>
                                       <asp:ListItem Text="Nữ" Value="0">
                                       </asp:ListItem>     
                                       </asp:RadioButtonList>
                    
								</div>
                                <div class="form-group">
		        				 	<label for="register-password2"><i class="icon-lock"></i> <b>Số Điện Thoại</b></label>
									<asp:TextBox ID="txt_sodienthoai" class="form-control" runat="server" ></asp:TextBox>
                                        <asp:RequiredFieldValidator
                                        ID="rfv_sdt" runat="server" ErrorMessage="Chưa Nhập Số Điện Thoại" ControlToValidate="txt_sodienthoai" ForeColor="Red" SetFocusOnError="True"  >
                                        </asp:RequiredFieldValidator>
								</div>
                                 <div class="form-group">
		        				 	<label for="register-password2"><i class="icon-lock"></i> <b>Địa Chỉ</b></label>
									<asp:TextBox ID="txt_diachi" class="form-control" runat="server" ></asp:TextBox>
								</div>
								<div class="form-group">
                                    <asp:Button class="btn pull-right" Text="Đăng Ký" runat="server" 
                                        onclick="Register_Click"/>
									<div class="clearfix"></div>
								</div>	
						</div>
					</div>
				</div>
			</div>
		</div>
        
</asp:Content>
